package com.java.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author jingjintao
 * @date 2021/8/13 - 23:49
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------PaymentFallbackService fall back-paymentInfo_OK ,/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "------PaymentFallbackService fall back-paymentInfo_TimeOut ,/(ㄒoㄒ)/~~";
    }
}
